package com.km.sglototo.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;
import java.math.BigDecimal;
import java.io.Serializable;

/**
 * @author xt
 * @date 2022-01-09
 * 机构管理
 */
@Data
@TableName("sys_org")
public class SysOrg implements Serializable {


    /**
     * 参数主键
     **/
    @TableId(value = "orgid", type = IdType.AUTO)
    private Integer orgid;

    /**
     *
     **/
    @TableField("org_name")
    private String orgName;


    /**
     *
     **/
    @TableField("parentid")
    private Integer parentid;


    /**
     *
     **/
    @TableField("org_fullname")
    private String orgFullname;


    /**
     *
     **/
    @TableField("status")
    private BigDecimal status;


    /**
     *
     **/
    @TableField("sortno")
    private BigDecimal sortno;


    /**
     *
     **/
    @TableField("org_type")
    private BigDecimal orgType;


    /**
     *
     **/
    @TableField("opid")
    private Integer opid;


    /**
     *
     **/
    @TableField("optime")
    private Date optime;


}
